Auto merge of #1830 - alexcrichton:cap-lints, r=brson
authorbors <bors@rust-lang.org>
Tue, 4 Aug 2015 22:47:42 +0000 (22:47 +0000)
committerbors <bors@rust-lang.org>
Tue, 4 Aug 2015 22:47:42 +0000 (22:47 +0000)
commitcb522bcbadf4960d8ce50e44ebcbf73bf29c6292
tree45cb8da4d39a6d714fef38afa2a461e6ca90daa5
parent663891cd828256f86e5f316081964eb02d44d8bb
parentff96fa159b84b7a46f10f551bc041316ea55735a
Auto merge of #1830 - alexcrichton:cap-lints, r=brson

This commit adds support to Cargo to pass `--cap-lints allow` to all upstream
dependencies instead of `-A warings`. This should serve the same purpose of
suppressing warnings in upstream dependencies as well as preventing widespread
breakage whenever a change to a lint is introduced in the compiler.
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/util/config.rs
tests/tests.rs